Total Complexity | 30 |
Dependencies | 10 |
Dependents | 1 |
Total lines | 367 |
Lines of code | 222 |
Logical lines of code | 86 |
Comment lines | 88 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process_metrics_request() | 47 | 7 | 40 | |
dispatch_metrics_request() | 48 | 6 | 34 | |
get_metric_graph() | 54 | 6 | 19 | |
register_rest_routes() | 43 | 1 | 67 | |
delete_metrics_request() | 54 | 3 | 21 | |
fetch_metrics_request() | 65 | 2 | 8 | |
handle_metrics_callback_error() | 62 | 1 | 12 | |
handle_metrics_callback_success() | 64 | 1 | 11 | |
__construct() | 79 | 1 | 3 | |
format_metrics_request_response() | 76 | 1 | 4 | |
can_manage_options() | 80 | 1 | 3 |